package net.dgg.dggcloud.service.jrcrm.entity.customer;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName: ReturnVisitCustomer-客户回访表
 * @Description: 用于客户未回访、待回访查询及操作
 * @author 钟鑫
 * @Date: 2017年11月15 20:22:26
 * @Version V1.0
 */
@Entity
@Table(name = "cus_return_visit_customer")
public class ReturnVisitCustomer extends BaseEntity{

    /**
     * 客户id
     */
    @Column(name = "customer_id")
    private Long customerId;

    /**
     * 最新商机id
     */
    @Column(name = "last_bus_id")
    private Long lastBusId;

    /**
     * 回访人id
     */
    @Column(name = "return_visit_id")
    private Long returnVisitId;

    /**
     * 回访人姓名+工号
     */
    @Column(name = "return_visit_name")
    private String returnVisitName;

    /**
     * 分配人id
     */
    @Column(name = "allot_id")
    private Long allotId;

    /**
     * 分配人姓名+工号
     */
    @Column(name = "allot_name")
    private String allotName;

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getLastBusId() {
        return lastBusId;
    }

    public void setLastBusId(Long lastBusId) {
        this.lastBusId = lastBusId;
    }

    public Long getReturnVisitId() {
        return returnVisitId;
    }

    public void setReturnVisitId(Long returnVisitId) {
        this.returnVisitId = returnVisitId;
    }

    public String getReturnVisitName() {
        return returnVisitName;
    }

    public void setReturnVisitName(String returnVisitName) {
        this.returnVisitName = returnVisitName;
    }

    public Long getAllotId() {
        return allotId;
    }

    public void setAllotId(Long allotId) {
        this.allotId = allotId;
    }

    public String getAllotName() {
        return allotName;
    }

    public void setAllotName(String allotName) {
        this.allotName = allotName;
    }
}